#ifndef NOTEFLOW_H
#define NOTEFLOW_H
#include "flow.h"

/**
 * @class NoteFlow
 * Пунктирная связь.
 * @see ArrowFlow
 */
class NoteFlow : public Flow
{
	Q_OBJECT
public:
	static bool canConnect (Shape *s, Shape *e);	///< @see ArrowFlow::canConnect()
	virtual bool canConnectStartTo (Shape *s);		///< @see Flow::canConnectStartTo()
	virtual bool canConnectEndTo (Shape *s);		///< @see Flow::canConnectEndTo()
	NoteFlow(Shape *start, Shape *end, QGraphicsItem *parent = 0);
	virtual NoteFlow *clone() const;
protected:
	void paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget);
};


#endif // NOTEFLOW_H
